package Person.ith_10;

 class Animal {
  void read()
{
    System.out.println("赵某在狗叫");
}
}
class Dog extends Animal{
     @Override
     public  void read()
     {
         System.out.println("汪汪汪");
     }
}
class Main{
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.read();
    }
}
